package com.jingdianjichi.auth.domain.convert;


import com.jingdianjichi.auth.domain.entity.AuthRoleBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface AuthRoleBOConverter {


    AuthRoleBOConverter INSTANCE = Mappers.getMapper(AuthRoleBOConverter.class);

    AuthRole convertBOToEntity(AuthRoleBO authRoleBO);

    List<AuthRoleBO> convertEntityListToBOList(List<AuthRole> authRoleList);

    List<AuthRole> convertBOListToEntityList(List<AuthRoleBO> authRoleBOList);
}
